﻿<UserControl x:Class="HOG.Controls.Options"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:shaders="clr-namespace:HOG.Shaders"
    Width="399" Height="300">
    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <ImageBrush ImageSource="/HOG;Component/Data/BCG.png" Opacity="0.85" />
        </Grid.Background>
    	<Canvas	x:Name="stackLabel" HorizontalAlignment="Left"  Width="399" RenderTransformOrigin="0.5,0.5" Height="300" >
    		<TextBlock x:Name="lblBrightness" Canvas.Top="35" Height="25"  Text="{Binding Source={StaticResource CustomLocStrings}, Path=LocalizedStrings.options_Brightness}" TextWrapping="Wrap" FontWeight="Bold" FontSize="13.333"  Canvas.Left="100"/>
    		<TextBlock x:Name="lblContrast" Canvas.Top="114" Height="25" Text="{Binding Source={StaticResource CustomLocStrings}, Path=LocalizedStrings.options_Contrast}" TextWrapping="Wrap" FontWeight="Bold" FontSize="13.333" Canvas.Left="100"/>
    		<TextBlock x:Name="lblGamma"  Canvas.Top="194" Height="25"  Text="{Binding Source={StaticResource CustomLocStrings}, Path=LocalizedStrings.options_Gamma}" TextWrapping="Wrap" FontWeight="Bold" FontSize="13.333" Canvas.Left="100"/>
			<Slider x:Name="sliderBrightness" Width="268" Canvas.Left="100" Canvas.Top="60" Height="31"  Minimum="-1.0" Maximum="1.0" Value="0.0" ValueChanged="sliderBrightness_ValueChanged"/>
    		<Slider x:Name="sliderContrast" Width="268" Canvas.Left="100" Canvas.Top="139" Height="31" Minimum="0" Maximum="10.0" Value="1.0" ValueChanged="sliderContrast_ValueChanged"/>
    		<Slider x:Name="sliderGamma" Width="268" Canvas.Left="100" Canvas.Top="219" Height="31" Minimum="0.1" Maximum="1.0" Value="1.0" ValueChanged="sliderGamma_ValueChanged" />
            <CheckBox x:Name="cbFullScreen" Content="{Binding Source={StaticResource CustomLocStrings}, Path=LocalizedStrings.options_FullScreen}" Canvas.Left="45" Canvas.Top="254" Click="CheckBox_Click"/>
			<Button x:Name="btnOK" Height="22"  Width="58" Content="OK" Click="btnOK_Click" Canvas.Left="310" Canvas.Top="254"/>
    	</Canvas>    	    	
    </Grid>
</UserControl>
